package com.dao;

import java.util.ArrayList;
import java.util.List;

import com.entity.News;
import com.entity.NewsType;
import com.entity.User;



public interface UserDao {
	void delNewType( int nt_id);
	void update(News news,int lid);
	ArrayList<NewsType> findALLNT();
	List<User> logincheck(int id ,String password);
	void saveNewType (NewsType newsType);
	void saveNew(News news, int lid);
	 List<News> findNew(int lid);
	 News findOneNew(int nid);
	 List<News> findAllNew();
	void deleteNew(int id);
	ArrayList<News> vague(String s);
	ArrayList<News> time_search(String time1,String time2);
}
